home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!redrobe.demon.co.uk
- From: Mike@Redrobe.demon.co.uk (Mike Redrobe)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: BitMap problem
- Date: 18 Apr 96 16:26:40 +0000
- Message-ID: <853.6682T986T2022@Redrobe.demon.co.uk>
- References: <4l26vg$cbu@serpens.rhein.de>
- NNTP-Posting-Host: redrobe.demon.co.uk
- X-NNTP-Posting-Host: redrobe.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- Hi, Michael van Elst , on 17-Apr-96 07:35:12 you scribbled....
- >ilan@sn.no (Ilan Sharoni) writes:
-
- >>>RectFill() The rendering MUST NOT go outside the bitmap, or else you
-
- >>RectFill(0,0,bitmap_width,bitmap_height) - is this too big?
-
- >It is WRONG. RectFill does not take size arguments, it takes the coords
- >of the top left and bottom right pixel of the rectangle. You must use:
-
- >RectFill(rp, 0,0, bitmap_width-1,bitmap_height-1);
-
- hehe I've been caught by that one too...took me ages to track it down
-
- its funny, how the resulting memory trashing didnt show itself until I quitted
- the program, and launched another..
-
-
- Mike
-
- --
- ---------------------------------------------------------------------------
- Mike Redrobe - Mike@Redrobe.demon.co.uk MikeRR on #Amiga
- ---------------------------------------------------------------------------
-
-